package com.device.operating.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="usertable")
public class User implements Serializable{

	@Id
	private String userId;
	private String departmentId;
	private String username;
	private String password;
	private String email;
	private String tel;
	private String loctel;//固定电话
	private Date birthday;
	private String xueli;
	private String rolename;
	private String roleId;
	private int usertype;
	private int ifleader;
	private String rootdpId;
	private String rootdpname;
	private Integer rolelevel;
	private String dpname;
	private String usercode;
	@Transient
	private List<String> listfunc; 
	
	public List<String> getListfunc() {
		return listfunc;
	}
	public void setListfunc(List<String> listfunc) {
		this.listfunc = listfunc;
	}
	public String getUsercode() {
		return usercode;
	}
	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}
	public String getDpname() {
		return dpname;
	}
	public void setDpname(String dpname) {
		this.dpname = dpname;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getLoctel() {
		return loctel;
	}
	public void setLoctel(String loctel) {
		this.loctel = loctel;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getXueli() {
		return xueli;
	}
	public void setXueli(String xueli) {
		this.xueli = xueli;
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public int getUsertype() {
		return usertype;
	}
	public void setUsertype(int usertype) {
		this.usertype = usertype;
	}
	public int getIfleader() {
		return ifleader;
	}
	public void setIfleader(int ifleader) {
		this.ifleader = ifleader;
	}
	public String getRootdpId() {
		return rootdpId;
	}
	public void setRootdpId(String rootdpId) {
		this.rootdpId = rootdpId;
	}
	public String getRootdpname() {
		return rootdpname;
	}
	public void setRootdpname(String rootdpname) {
		this.rootdpname = rootdpname;
	}
	public Integer getRolelevel() {
		return rolelevel;
	}
	public void setRolelevel(Integer rolelevel) {
		this.rolelevel = rolelevel;
	}
	
	
}
